package com.rightrule.rule.response;

import com.rightrule.rule.dto.DecisionRuleDTO;
import com.rightrule.rule.dto.DecisionRuleWaterDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class FlowExecutionResponse extends BaseExecutionResponse {
    /**
     * 决策序列号
     */
    protected String seq;

    /**
     * 命中规则列表
     */
    protected List<DecisionRuleDTO> hitRules;

    /**
     * 规则决策流水
     */
    protected List<DecisionRuleWaterDTO> ruleExeWaters;


    public FlowExecutionResponse(String seq) {
        this.seq = seq;
    }
}
